﻿using MediatR;
using Traceability.App.Domain;
using Traceability.App.DTOS;
using Traceability.ErrorCode;

namespace Traceability.App.Apilication.Common
{
    public class TraceabilityCommon:IRequest<ApiPaimg<TraceabilityDTO>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 商品名称 
        /// </summary>
        public string? Goods_Name { get; set; }
        /// <summary>
        /// 生产批次（整个系统唯一） 
        /// </summary>
        public string? Production_Batch { get; set; }
        /// <summary>
        /// 保质期（天） 
        /// </summary>
        public int? Quality_Guarantee_Period { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? Production_License_Number { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Manufacturing_Enterprise { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人 
        /// </summary>
        public string? UpdateName { get; set; }
   
    }
}
